using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 规格
    /// </summary>
    public class GoodsSpec: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 规格编号
        /// </summary>
        [Required]
        public string SpecNo { get; set; }
        
        /// <summary>
        /// 高
        /// </summary>
        [Required]
        public string Height { get; set; }
        
        /// <summary>
        /// 重量
        /// </summary>
        [Required]
        public string Weight { get; set; }
        
        /// <summary>
        /// 条码
        /// </summary>
        [Required]
        public string Barcodes { get; set; }
        
        /// <summary>
        /// 参考进价
        /// </summary>
        [Required]
        public string ConsultsPrice { get; set; }
        
        /// <summary>
        /// 标准售价
        /// </summary>
        [Required]
        public string StandardPrice { get; set; }
        
        /// <summary>
        /// 商品编号
        /// </summary>
        [Required]
        public string GoodsNo { get; set; }
        
        /// <summary>
        /// 其他规格
        /// </summary>
        [Required]
        public string OtherSpec { get; set; }
        
        /// <summary>
        /// 吊牌价
        /// </summary>
        [Required]
        public string TagPrice { get; set; }
        
        /// <summary>
        /// 宽
        /// </summary>
        [Required]
        public string Width { get; set; }
        
        /// <summary>
        /// 辅助条码
        /// </summary>
        [Required]
        public string AidedBarcodes { get; set; }
        
        /// <summary>
        /// 颜色
        /// </summary>
        [Required]
        public string Color { get; set; }
        
        /// <summary>
        /// 商品图片
        /// </summary>
        [Required]
        public string Pic { get; set; }
        
        /// <summary>
        /// 长
        /// </summary>
        [Required]
        public string Length { get; set; }
        
        /// <summary>
        /// 体积
        /// </summary>
        [Required]
        public string Volume { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}